package com.culture.config.dao.entity;

import java.util.Date;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain=true)
@NoArgsConstructor
public class AppInstance {
    Long id;
	String name;
	Long appId;
    String managementUrl;
	String healthUrl;
	String serviceUrl;
	String serviceIp;
    String serviceInfo;
	String serviceHash;
	String sessionId;
	Integer currentStatus;
	Date heartbeatTime;
	String createBy;
	Date createTime;
	String updateBy;
	Date updateTime;   

	public AppInstance(Long id){
		this.id = id;
	}

	public AppInstance(String name, Long appId){
		this.name = name;
		this.appId = appId;
	}
}
